package com.avalon.shop.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("shop")
public class ShopConfig {
    private String server;
    private String userName;
    private String password;
    private String db;
}
